package com.gexiaobao.pigeon.ui.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.gexiaobao.pigeon.R

/**
 * @Author      : hxw
 * @Date        : 2024/4/8 8:45
 * @Describe    :
 */
class PigeonsAdapter(data: ArrayList<String>) : BaseQuickAdapter<String, BaseViewHolder>(R.layout.item_pigeons,data) {
    override fun convert(holder: BaseViewHolder, item: String) {
        holder.setText(R.id.tvItemPigeonsRings, (holder.layoutPosition+1).toString() + ". " + item)
    }
}